﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Combat/Combat.master" StylesheetTheme="Content" AutoEventWireup="true" CodeFile="InputStat.aspx.cs" Inherits="Combat_InputStat" %>

<%@ Register src="../UserContral/ListPageContral.ascx" tagname="ListPageContral" tagprefix="uc1" %>
<%@ Register Assembly="DundasWebChart" Namespace="Dundas.Charting.WebControl" TagPrefix="DCWC" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <script language="javascript" type="text/javascript">
        function Winopen(obj, obj2, sid) {
            var ul = "ScoreView.aspx?Year=" + obj + "&Month=" + obj2 + "&SoldierID=" + sid;
            var popwin = window.open(ul, 'newwindow', 'height=768, width=1024, top=0,left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=yes')
            popwin.moveTo(100, 20)
        }
        </script>
<ul class="topmenu">
<li>年</li>
<li>
    <asp:DropDownList ID="ddlYear" runat="server">
    </asp:DropDownList>
</li>
<li>月</li>
<li>
    <asp:DropDownList ID="ddlMonth" runat="server">
    </asp:DropDownList>
</li>
<li>警衔</li>
<li>
    <asp:DropDownList ID="ddlRank" runat="server">
    </asp:DropDownList>
</li>
<li>岗位</li>
<li>
    <asp:DropDownList ID="ddlStation" runat="server">
    </asp:DropDownList>
</li>
<li>
    <asp:LinkButton ID="btnQuery" runat="server" onclick="btnQuery_Click">查询</asp:LinkButton></li>
</ul>
<table cellpadding="0" cellspacing="0" width="100%" >
<caption>
<span>各单位士兵训练成绩统计</span>
</caption>
<tr>
<td>
<DCWC:Chart ID="UserChart" runat="server" BackGradientEndColor="White" BackGradientType="DiagonalLeft"
                        BorderLineColor="" BorderLineStyle="Solid" Height="400px" Palette="Dundas"  Width="770">
                        <Legends>
                            <DCWC:Legend Alignment="Far" BackColor="White" BorderColor="26, 59, 105" Docking="Top" 
                                LegendStyle="Column" Name="Default" ShadowOffset="2">
                            </DCWC:Legend>
                        </Legends>
                        <Series>
                            <DCWC:Series   CustomAttributes="RadarDrawingStyle=Area" Name="录入率"
                                ShadowOffset="1" ShowLabelAsValue="True" LabelFormat="p1">
                            </DCWC:Series>
                            <DCWC:Series Name="达标率" ShadowOffset="1" ShowLabelAsValue="True" LabelFormat="p1">
                            </DCWC:Series>
                            <DCWC:Series Name="总达标率" ShadowOffset="1" ShowLabelAsValue="True" LabelFormat="p1">
                            </DCWC:Series>
                        </Series>
                        <ChartAreas>
                            <DCWC:ChartArea BackColor="Transparent" BorderColor="" BorderStyle="Solid" Name="Default">
                                <AxisY LineColor="120, 0, 0, 0">
                                    <MinorGrid LineColor="Silver" />
                                    <MajorGrid LineColor="Silver" />
                                </AxisY>
                                <AxisX Interval="1" TitleAlignment="Far" TitleFont="宋体, 9pt">
                                    <MinorGrid LineColor="Silver" />
                                    <MajorGrid LineColor="Silver" />
                                </AxisX>
                            </DCWC:ChartArea>
                        </ChartAreas>
                        <Titles>
                            <DCWC:Title Name="Title" Text="">
                            </DCWC:Title>
                        </Titles>
                        <BorderSkin FrameBackColor="CornflowerBlue" FrameBackGradientEndColor="CornflowerBlue"
                            PageColor="AliceBlue" />
                    </DCWC:Chart>
                    </td>
</tr>
</table>
</asp:Content>

